package com.it.park.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.it.park.client.service.MomentsThumbUpService;
import com.it.park.dao.MomentsThumbUpMapper;
import com.it.park.model.MomentsThumbUp;

@Service("momentsThumbUpService")
public class MomentsThumbUpServiceImpl extends BaseServiceImpl<MomentsThumbUp> implements MomentsThumbUpService{
	@Autowired
	private  MomentsThumbUpMapper  momentsThumbUpMapper;
	@Override
	public boolean deleteByPrimaryKey(Integer id) {
		return false;
	}

	@Override
	public boolean insert(MomentsThumbUp record) {
		return momentsThumbUpMapper.insert(record)==1;
	}

	@Override
	public boolean insertSelective(MomentsThumbUp record) {
		return momentsThumbUpMapper.insertSelective(record)==1;
	}

	@Override
	public MomentsThumbUp selectByPrimaryKey(Integer id) {
		return momentsThumbUpMapper.selectByPrimaryKey(id);
	}

	@Override
	public boolean updateByPrimaryKeySelective(MomentsThumbUp record) {
		return false;
	}

	@Override
	public boolean updateByPrimaryKeyWithBLOBs(MomentsThumbUp record) {
		return false;
	}

	@Override
	public boolean updateByPrimaryKey(MomentsThumbUp record) {
		return false;
	}

	@Override
	public List<MomentsThumbUp> selectAll() {
		return momentsThumbUpMapper.selectAll();
	}

	@Override
	public List<MomentsThumbUp> selectPagination(Map<String, Object> map) {
		return momentsThumbUpMapper.selectPagination(map);
	}

	@Override
	public Integer selectTotal(Map<String, Object> map) {
		return momentsThumbUpMapper.selectTotal(map);
	}

	@Override
	public MomentsThumbUp selectIsExists(MomentsThumbUp thumbUp) {
		return momentsThumbUpMapper.selectIsExists(thumbUp);
	}

	@Override
	public List<MomentsThumbUp> selectPagination(MomentsThumbUp t) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer selectTotal(MomentsThumbUp t) {
		// TODO Auto-generated method stub
		return null;
	}

}
